package com.ydlcalss.proviver.service;

import com.ydlcalss.proviver.dao.GoodsDao;
import com.ydlcalss.proviver.domain.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodsService {

    @Autowired
    private GoodsDao goodsDao;

    public Goods findById(Integer id){
            return goodsDao.findById(id);

    }
}
